package chapter1.fundamentals.exercise;

import edu.princeton.cs.algs4.StdOut;

/**
 * @author quanlinlin on 2018/10/25 19:57.
 * @version 1.0
 */
public class E_6 {

    public static void main(String[] args) {
        int f = 0;
        int g = 1;
        for (int i = 0; i <= 15; i++) {
            StdOut.println(f);
            f = f + g;
            g = f - g;
        }
    }
}
